import { isSuccess } from '../configs';
import makeApi from './index';

const api = {
	add: '/maintainer/add',
	del: '/maintainer/del',
	query: '/maintainer/list',
	detail: '/maintainer/detail'
};
const services = makeApi(api);

const {
	query,
	add,
	del,
	detail
} = services;

export {
	query,
	add,
	del,
	detail,
	isSuccess
};

export default services;
